package com.trade.module.daq.service;

import com.trade.common.utils.ResponseBean;
import com.trade.module.daq.entity.CollectRule;

/**
 * Class Description:
 *
 * @Version v1.0 2017/6/21 23:45
 * @JDK version 1.8.0_51
 * @Author zfb
 */
public interface CollectionRuleService {

    ResponseBean save(CollectRule rule) throws Exception;

    //根据规则启动任务
    ResponseBean excuteTask(CollectRule rule)throws Exception;

}
